import axios from 'axios'
import './request.js'

// 获取所有用户
export const getUser = function () {
  return axios.get('/content/user/list')
}

// 修改用户状态
export const updateUser = function (params) {
  return axios.put('/content/user/status', params)
}

// 删除用户
export const deleteUser = function (params) {
  return axios.delete('/content/user/delete', params)
}
